package com.education.basic.dao;

import java.util.List;

import com.education.basic.entity.TeachInfo;
import com.yunshangwoniu.core.baseDao.BaseDao;

public interface TeachInfoDAO extends BaseDao<TeachInfo>
{
    /**
     * 遍历所有的任课详情
     * @return
     */
	List<TeachInfo> queryAll();

    /**
     * 通过课程名获得任课详情
     * @param courseName
     * @return
     */
	TeachInfo getByCourseName(String courseName);

    /**
     * 通过职工编号获得任课信息
     * @param empno
     * @return
     */
    List<TeachInfo> getTeachInfosByEmpno(String empno);

    /**
     * 通过课程编号获得任课信息
     * @param courseCode
     * @return
     */
    TeachInfo getByCourseCode(String courseCode);
}
